package com.example.base.security.service;

import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface LoginService {

    public void loginSuccess(HttpServletResponse response,Authentication authentication);

    public void loginFail(AuthenticationException exception,HttpServletResponse response);

    public void loginOutSucess(HttpServletRequest request,HttpServletResponse response);
}
